<?php ob_start();?>
<?php 
	$root = $_SERVER['DOCUMENT_ROOT'];
//  	include($root.'/standart/head.php');
 	include($root.'/standart/dateHeader.php');
 	include($root.'/standart/checkUser.php');
 	$db = connect();
	$orderID = $_POST['orderId'];
	echo 'Order ID = '.$orderID;
	
	$stmt = "UPDATE ORDERS 
				SET ISPRINT=0
				WHERE ID=?";
	$statement = $db->prepare($stmt);
	$statement->bind_param('i',$orderID );
	 	if($statement->execute()){
		?>
		<div style="width: 350px; height: 100%; text-align: center;">
		<img src="images/ok.png" style=" height: 30%; margin-left: 5px; margin-top: 10px">
		<h2>Tebrikler</h2>
		<br/>
		<p>Güncelleştirme işleminiz başarıyla gerçekleşmiştir...</p>
		</div>
		<?php 
}
	
?>
<?php ob_flush(); ?>